From: Ray Strode Date: Wed, 6 Feb 2013 19:36:37 +0000 (-0500) Subject: loginDialog: don't try to stop work spinner if it's already gone X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~4755 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=07c0105c8392b43bc07b5ddf5c5aced9780ef3f7;p=gnome-shell.git loginDialog: don't try to stop work spinner if it's already gone This can happen if the dialog gets reset at the wrong moment. https://bugzilla.gnome.org/show_bug.cgi?id=693757 --- diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js index d2b93ba72..d41b520ef 100644 --- a/js/gdm/loginDialog.js +++ b/js/gdm/loginDialog.js @@ -1063,7 +1063,8 @@ const LoginDialog = new Lang.Class({ transition: 'linear', onCompleteScope: this, onComplete: function() { - this._workSpinner.stop(); + if (this._workSpinner) + this._workSpinner.stop(); } }); }